package com.ikas.ai.framework.core.model;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.function.Function;

/**
 * @Description: 针对批量数据获取的lambda匿名函数包装类
 * @Author: qi.yilai
 * @Date: 2023/10/27 13:47
 * @Version: 1.0.0
 **/
@Data
public class BatchDataFunction {

    @JSONField(serialize = false)
    private Function<PageQueryInput, PageBatchOutput> function;

    private int queryType;

    private JSONObject queryConfig;

    private JSONObject meteData;
}
